package com.evl.common.persistence.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.evl.common.persistence.model.TrainSeat;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author yangliwei
 * @since 2017-06-14
 */
public interface TrainSeatMapper extends BaseMapper<TrainSeat> {

	List<Map<String, Object>> selectTrainSeats(Page<Map<String, Object>> page, @Param("vehicleId")Integer vehicleId, @Param("carriageNo")String carriageNo, @Param("seatNo")String seatNo, @Param("seatType")String seatType);

	List<TrainSeat> selectTrainSeatsByWhere(@Param("vehicleId")Integer id);
}